/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.pojo;

import java.util.Date;

/**
 *
 * @author OJH
 */
public class BinhLuan {
      private int maBinhLuan;
      private int maNguoiDung;
      private int maSanPham;
      private Date ngayGio;
      private String noiDung;
      
      
   public BinhLuan() {
      this.maBinhLuan=0;
      this.maNguoiDung = 0;
      this.maSanPham = 0;
      this.ngayGio = null;
      this.noiDung = "";
   }

   public BinhLuan(int maBinhLuan, int maNguoiDung, int maSanPham, Date ngayGio, String noiDung) {
      this.maBinhLuan=maBinhLuan;
      this.maNguoiDung  = maNguoiDung ;
      this.maSanPham =maSanPham;
      this.ngayGio = ngayGio;
      this.noiDung  = noiDung ;
   }

   public BinhLuan(BinhLuan bl) {
      this.maBinhLuan=bl.maBinhLuan;
      this.maNguoiDung = bl.maNguoiDung;
      this.maSanPham = bl.maSanPham;
      this.ngayGio = bl.ngayGio;
      this.noiDung = bl.noiDung;
   }

   
    /**
     * @return the maBinhLuan
     */
    public int getMaBinhLuan() {
        return maBinhLuan;
    }

    /**
     * @param maBinhLuan the maBinhLuan to set
     */
    public void setMaBinhLuan(int maBinhLuan) {
        this.maBinhLuan = maBinhLuan;
    }
      

    /**
     * @return the MaNguoiDung
     */
    public int getMaNguoiDung() {
        return maNguoiDung;
    }

    /**
     * @param MaNguoiDung the MaNguoiDung to set
     */
    public void setMaNguoiDung(int maNguoiDung) {
        this.maNguoiDung = maNguoiDung;
    }

    /**
     * @return the MaSanPham
     */
    public int getMaSanPham() {
        return maSanPham;
    }

    /**
     * @param MaSanPham the MaSanPham to set
     */
    public void setMaSanPham(int maSanPham) {
        this.maSanPham = maSanPham;
    }

    /**
     * @return the NgayGio
     */
    public Date getNgayGio() {
        return ngayGio;
    }

    /**
     * @return the NoiDung
     */
    public String getNoiDung() {
        return noiDung;
    }

      
}
